/** 2019/10/27
 * @Author: 王灿
 * @Desc: flex布局
 */
 @mixin column( $inline: flex, $direction: column) {
    display: $inline;
    flex-direction: $direction;
}

@mixin row( $inline: flex) {
    display: $inline;
    align-items: center;
    justify-content: flex-start;
}

@mixin center( $inline: flex, $direction: column) {
    display: $inline;
    flex-direction: $direction;
    justify-content: center;
    align-items: center;
}

@mixin flex($direction: row, $inline: flex, $flexWrap: wrap, $justifyContent: space-around, $align-items: center) {
    display: $inline;
    flex-direction: $direction;
    flex-wrap: $flexWrap;
    justify-content: $justifyContent;
    align-items: $align-items;
}


/** 2019/10/27
 * @Author: 王灿
 * @Desc: 多行超出省略号
 */

@mixin ell2($row) {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: $row;
    overflow: hidden;
}